
<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%><head>

	<link href="style/style1.css" rel="stylesheet" type="text/css">
	<link type="text/css" rel="Stylesheet" href="css/main.css" />
	<script type="text/javascript" src="javascript/jquery-1.4.min.js"></script>
	<script type="text/javascript" src="javascript/Common.js"></script>
	<script type="text/javascript">
	$(document).ready(function() {
		$(".navigation li").hover(function() {
	// $("#orderedlist li:last").hover(function() {
		$(this).addClass("blue");
	}, function() {
		$(this).removeClass("blue");
	});
});
</script>
	<style type="text/css">
.blogName1 {
	FILTER: shadow(color =   green);
	COLOR: white;
	LINE-HEIGHT: 150%;
	FONT-FAMILY: 华文彩云;
	font-size: 30px
}

.blogName2 {
	FONT-SIZE: 20pt;
	FILTER: shadow(color =   #DA70D6);
	COLOR: white;
	LINE-HEIGHT: 150%;
	FONT-FAMILY: 方正舒体
}
</style>
</head>
<body >

<form method="post" action="search.action" class="topForm">
	<div align="right">


		<c:if test="${blogUser.account!=user.account}">		
					您正在浏览${user.blogName }的空间		
			</c:if>
		<c:if test="${blogUser.account==user.account}">
		</c:if>
		<input name="searchString" type="text">
		<select name="searchWhat">
			<option value="0">
				博文
			</option>
			<option value="1">
				博主
			</option>
		</select>
		<input class="button" onmouseover="this.className='buttonMouseOver'"
			onmouseout="this.className='button'" type="submit" value="搜索">
		<c:if test="${blogUser!=null }">
			<c:if test="${blogUser.account!=user.account}">
				<a href="browseUser.action?account=${blogUser.account}">回到我的博客</a>
			</c:if>
		</c:if>
		<c:if test="${blogUser.account==user.account}">
			<a href="browseMessage.action">信息</a>
			<a href="quit.jsp">退出</a>
		</c:if>
		<c:if test="${blogUser==null}">
			<a href="register.jsp">注册</a>
			<a href="login.jsp">登入</a>
		</c:if>
		<a href="index.jsp">博客中心</a>
	</div>
</form>

<div class="topPic"
	onclick='if(this.className=="topPic")this.className="topPic2";else{this.className="topPic";}'>
	<div id="topBlogName">
		<span class="blogName1">${user.blogName }</span><span
			class="blogName2">的博客</span>
	</div>

</div>



<div id="menu">
	<ul class="navigation" id="ulAdmin" runat="server" visible="false"
		style="padding-left: 100px">
		<li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
			<a href="browseUser.action?account=${user.account}"> 首页</a>

		</li>
		<li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
			<a href="/blog/listBlog.action">日志</a>

		</li>
		<li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
			<a href="/blog/listAlbums.action">相册</a>

		</li>
		<li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
			<a href="listFriend.action">博友</a>

		</li>
		<li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
			<a href="personInfo.action"> 个人资料 </a>

		</li>
		<c:if test="${blogUser!=null }">
			<c:if test="${blogUser.userType==0}">
				<li onmouseover="displaySubMenu(this)"
					onmouseout="hideSubMenu(this)">
					<a href="admin.jsp"> 进入管理中心 </a>
				</li>
			</c:if>
		</c:if>


	</ul>
</div>





